package com.ruleengine.router.impl;

import com.ruleengine.context.IWorkflowConext;
import com.ruleengine.endpoint.data.IEndpointData;
import com.ruleengine.router.IRouter;
import com.ruleengine.router.exception.RouterException;

public abstract class AbstractRouter implements IRouter {
    private IRouter router;
    
    public IRouter getRouter() {
        return router;
    }

    public void setRouter(IRouter router) {
        this.router = router;
    }

    public abstract void route(String target, IWorkflowConext context, IEndpointData data)
            throws RouterException;
}
